package cn.daichi.rabbitdemo.ttl.dlx;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class DlxConsumer {

    @RabbitListener(queues = DlxConfig.DLX_QUEUE)
    public void dlxHandle(String msg) {
        System.out.println("dlx msg = " + msg);
    }
}
